package com.company.LambdaDemo;

import java.util.ArrayList;
import java.util.List;
import java.util.function.BiConsumer;

public class OptionMain {
    public static void main(String[] args) {
        List<Student> students = new ArrayList<>();
        testComsu((k, v) -> {
            System.out.println(k);
            System.out.println(v);
        });
    }

    private static void testComsu(BiConsumer<Integer, Integer> consumer) {
        consumer.accept(1, 2);
    }
}
